"use strict";
exports.__esModule = true;
/*
 * @Description:
 * @Author: charles
 * @Date: 2021-11-19 11:12:42
 * @LastEditors: charles
 * @LastEditTime: 2021-11-19 11:17:18
 */
var Person = /** @class */ (function () {
    function Person() {
        this.name = 'terry';
        this.age = 12;
        this.weight = 120;
    }
    Person.prototype.sayName = function () {
        console.log('my name is', this.name);
    };
    Person.prototype.sayAge = function () {
        console.log('my age is', this.age);
    };
    Person.prototype.sayWeight = function () {
        console.log('my weight is', this.weight - 30, 'kg');
    };
    return Person;
}());
var p = new Person();
p.sayAge();
p.sayName();
p.sayWeight();
exports["default"] = Person;
